package com.fw.ui.view.event;

import java.io.Serializable;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

import com.vaadin.ui.Component;

public abstract class AbstractListener implements Serializable {

    private static final long serialVersionUID = 7676535411833930334L;

    private Component basedComponent;

    public boolean filter() {
	Logger log = LoggerFactory.getLogger(this.getClass());
	log.info("EXECUTE FILTER LISTENER [NO FILTER]");
	return false;
    }

    public Component getBasedComponent() {
	return basedComponent;
    }

    public void setBasedComponent(Component basedComponent) {
	this.basedComponent = basedComponent;
    }

}
